package com.swsc.xapp.model;
import com.swsc.xapp.enums.DefectStateEnums;

import java.util.LinkedHashSet;
import java.util.Set;

/**
 * @Author chencl
 * @Date 2021/6/26 23:24
 * @Version 1.0
 * @Description 条件
 */

public class DefectTableHeaderConditionResVO {

    private Set<TextValueResVO> stations;

    private Set<TextValueResVO> patrolTimes;

    private Set<TextValueResVO> faultNames;
   /** @io.swagger.annotations.ApiModelProperty(value = "设备编码")
    private Set<String> deviceCodes;*/

    private Set<TextValueResVO> states;

    private Set<TextValueResVO> zones;

    public DefectTableHeaderConditionResVO() {
        this.stations = new LinkedHashSet<>();
        this.patrolTimes = new LinkedHashSet<>();
        this.faultNames = new LinkedHashSet<>();
        this.states = new LinkedHashSet<>();
        this.states.add(new TextValueResVO(DefectStateEnums.UNDEAL.getName(), DefectStateEnums.UNDEAL.getState()));
        this.states.add(new TextValueResVO(DefectStateEnums.DEAL.getName(), DefectStateEnums.DEAL.getState()));
        this.zones = new LinkedHashSet<>();
    }

    public Set<TextValueResVO> getStations() {
        return stations;
    }

    public void setStations(Set<TextValueResVO> stations) {
        this.stations = stations;
    }

    public Set<TextValueResVO> getPatrolTimes() {
        return patrolTimes;
    }

    public void setPatrolTimes(Set<TextValueResVO> patrolTimes) {
        this.patrolTimes = patrolTimes;
    }

    public Set<TextValueResVO> getFaultNames() {
        return faultNames;
    }

    public void setFaultNames(Set<TextValueResVO> faultNames) {
        this.faultNames = faultNames;
    }

    public Set<TextValueResVO> getStates() {
        return states;
    }

    public void setStates(Set<TextValueResVO> states) {
        this.states = states;
    }

    public Set<TextValueResVO> getZones() {
        return zones;
    }

    public void setZones(Set<TextValueResVO> zones) {
        this.zones = zones;
    }
}

